// Beverage.h
#ifndef BEVERAGE_H
#define BEVERAGE_H

#include "Product.h"

// 饮料类
class Beverage : public Product {
private:
    string flavor; // 口味
public:
    Beverage();
    Beverage(string id,string name, string brand, string manufacturer, double price, int quantity, string flavor);

    void displayInfo() const override;
    void setFlavor(string f);
    string getFlavor() const;

    void updateSpecialField(const string& value)  override;
};

#endif //BEVERAGE_H